package org.jeecg.modules.scm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.scm.entity.ScmCloudChain;
import org.jeecg.modules.scm.entity.ScmFinaContract;

/**
 * @Description: scm_cloud_chain
 * @Author: jeecg-boot
 * @Date: 2021-11-04
 * @Version: V1.0
 */
public interface ScmCloudChainMapper extends BaseMapper<ScmCloudChain> {

    /**
     * 根据应收账款id关联查询融资合同信息
     *
     * @param receivableId
     * @return
     */
    ScmFinaContract queryFinalContractByReceivablesId(@Param("receivableId") Integer receivableId);

}
